package com.smart.community.region.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smart.community.commons.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 店铺费用标准实体类
 * 
 * @author Wu.Liang
 * @version 1.0.0
 * @since 2025-09-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sc_shop_fee_standard")
public class ShopFeeStandard extends BaseEntity {
    /**
	 * @author Wu.Liang
	 * @date 2025年9月30日
	 */
	private static final long serialVersionUID = -5467024281532690124L;

	/**
     * 店铺ID
     */
    @TableField("shop_id")
    private Long shopId;
    
    /**
     * 费用类型：PROPERTY-物业费，WATER-水费，ELECTRIC-电费，GAS-燃气费，SANITATION-卫生费
     */
    @TableField("fee_type")
    private String feeType;
    
    /**
     * 费用单价
     */
    @TableField("fee_rate")
    private BigDecimal feeRate;
    
    /**
     * 费用单位：元/㎡/月，元/度，元/吨等
     */
    @TableField("fee_unit")
    private String feeUnit;
    
    /**
     * 生效日期
     */
    @TableField("effective_date")
    private LocalDate effectiveDate;
    
    /**
     * 失效日期
     */
    @TableField("expiry_date")
    private LocalDate expiryDate;
    
    /**
     * 状态：0-禁用，1-启用
     */
    @TableField("status")
    private Integer status;
    
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;
}
